import { defineStore } from "pinia" 
export const useCommomStore = defineStore("index", {
	state: () => {
		return {
			showHeader:true,
			showModal:false,
			showModalSetting:true
		}
	},
	getters: {},
	actions: { 
		setShowHide(){
			this.showHeader = !this.showHeader;
		},
		setShowModal(){ 
			this.showModal = !this.showModal;
		},
		setShowModalSetting(){ 
			this.showModalSetting = !this.showModalSetting;
		},
	},
	persist: false
});
